<template>
  <div class="app-index-container" :style="'width: 100%; height: '+height+'px;overflow-y:auto'">
    <iframe :src="pathUrl" id="a" frameborder="no" border="0" marginwidth="0" marginheight="0"
    style="height: 100%; width: 100%;"></iframe>
  </div>
</template>

<script>
import settings from "@/settings"
export default{
  name: 'Index',
  data() {
    return {
      height: ((document.documentElement.clientHeight || document.body.clientHeight)-84),
      pathUrl: ''
    }
  },
  mounted() {
    this.pathUrl = settings.mapUrl + '/GIS/Index.html'
    // this.pathUrl = 'http://127.0.0.1:8848/GIS4/Index.html'
  }
}
</script>

<style lang="scss" scoped>
</style>
